package com.zhongge.entity;

import lombok.Data;

import java.util.List;

/**
 * @ClassName PageData
 * @Description TODO
 * @Author zhongge
 * @Version 1.0
 */
@Data
public class PageData<T> {
    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public List<T> getRows() {
        return rows;
    }

    public void setRows(List<T> rows) {
        this.rows = rows;
    }

    private Long total;
    private List<T> rows;
}
